﻿<?php echo form_open('adminNews/deleteNews'); ?>
<table class="admin_table">
<tr><th colspan="2"><h2>Промени вести</h2></th></tr>
<?php 
	foreach ($news as $new)
	{
		echo "<tr><td><a href='".site_url('adminNews/editNews/'.$new->idNewsPk)."'>".$new->title."</a></td>";
		echo "<td><input class='checkboxes' type='checkbox' name=".$new->idNewsPk." value=".$new->idNewsPk." /></td></tr>";
	}
?>
<tr class="footer_table"><td><a style="background: none; font-weight: bold;" href="<?= site_url('adminNews/addNews') ?>">Додади вест</a></td> 
<td><input class="right" type="submit" name="submit" value="Избриши селектирани" /></td></tr>
</table>
<?php echo form_close(); ?>